package zms.roya.pattern.single;

public class SingleClone3 {
	private static SingleClone3 instance = null;

	private SingleClone3() {
		// do something
	}

	public static SingleClone3 getInstance() 
	
	{
		
		if (instance == null)
		
		{
			System.out.println("in SingleClone3");
			synchronized (SingleClone3.class)
			   {
				if (null == instance) {
					instance = new SingleClone3();
				}
			}
		}
		return instance;
	}
}
